package com.wjc.train.business.feign;

import com.wjc.train.common.req.MemberTicketSaveReq;
import com.wjc.train.common.resp.CommonResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author Guessed
 */
@FeignClient("member")
public interface MemberFeign {
    @PostMapping("/member/feign/ticket/save")
    public CommonResp save(@RequestBody MemberTicketSaveReq memberTicketSaveReq);

    @PostMapping("/member/feign/ticket/saveList")
    public CommonResp saveList(@RequestBody List<MemberTicketSaveReq> memberTicketSaveReq);
}
